//
//  RoomView.h
//  GKBHouse
//
//  Created by  on 12-6-22.
//  Copyright (c) 2012年 __MyCompanyName__. All rights reserved.
//

#import <UIKit/UIKit.h>

#import "HouseButton.h"

@interface RoomView : UIView
{
    UIScrollView *devicesScrollView;
    NSMutableArray *devices;
}
@property (retain) HouseButton *room;
@property (assign) id target;
@property (assign) SEL action;
- (id)initWithRoom:(HouseButton*)house;
- (void)roomView:(HouseButton*)house;
- (void)roomViewWithDevices:(NSMutableArray *)adevices;
- (void)setTarget:(id)target action:(SEL)a;
- (void)initTitle;
- (void)initDeviceFrame;
- (void)initDevices2;
- (void)initDevices;
- (void)closeView;
@end
